Skip to content

ReactiveViewHostUnsafe(Context, int, ViewGroup, bool, bool, ResolveStrategy) constructor

Defined in

Type: ReactiveViewHostUnsafe Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net10.0-android36.0

protected ReactiveViewHostUnsafe(Context ctx, int layoutId, ViewGroup parent, bool attachToRoot, bool performAutoWireup, ControlFetcherMixins.ResolveStrategy resolveStrategy)

View source

Summary: Initializes a new instance of the ReactiveViewHostUnsafe class by inflating a layout resource and optionally wiring child controls to properties by reflection.

Parameters

NameTypeDescription
ctxContextThe Android context.
layoutIdintThe layout resource identifier.
parentViewGroupThe parent view group.
attachToRootboolWhether to attach the inflated view to the parent.
performAutoWireupboolIf true, wires child controls to properties by reflection.
resolveStrategy[ResolveStrategy](#Which properties the auto-wireup considers.